<template>
  <!-- 编辑私教订单组件 -->
  <el-dialog
    :title="title"
    :visible.sync="status"
    @open="handle_open"
    :before-close="handle_close"
    width="30%"
    center>
    <el-form ref="order_form" :model="order_form" label-width="100px">
      1111111111111
    </el-form>
    <span slot="footer" class="dialog-footer">
      <el-button @click="handle_close">返 回</el-button>
      <el-button type="primary" @click="handle_save">确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
  export default {
    props: ['status', 'row', 'title'],
    data() {
      return {
        order_form: {}
      }
    },
    methods: {
      // 打开触发
      handle_open() {
        console.log('row:', this.row);
      },
      // 返回
      handle_close() {
        this.$emit('update:status', !this.status)
      },

      // 确定
      handle_save() {

      }
    },
  }
</script>

<style lang="scss" scoped>

</style>